
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Product extends CI_Controller {
    function __construct() {
        parent::__construct();
    }

    function index() {
        $products = array(array('name' => 'ABC'), array('name' => 'DBG'));
        $this->load->view('product/index.php', array('products' => $products));
    }
}

?>